<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/login.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:18:23 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>口令拍 - 登录</title>
    <meta name="keywords" content="口令拍,拍卖,拍品">
    <meta name="description" content="口令拍是一款让用户方便进行拍品交易的一个平台">

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">

    <!--自定义公共样式-->
    <link rel="stylesheet" href="css/common/common.ext.css?v=0.0.1">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>

<body class="gray-bg">

    <div class="middle-box text-center loginscreen  animated fadeInDown">
        <div>
            <div>

                <h1 class="logo-name">拍</h1>

            </div>
            <h3>欢迎使用 口令拍</h3>

            <form class="m-t" role="form">
                <div class="error">用户名或者密码错误！</div>
                <div class="form-group">
                    <input type="text" name="username" class="form-control" placeholder="用户名" required="">
                </div>
                <div class="form-group">
                    <input type="password" name="password" class="form-control" placeholder="密码" required="">
                </div>
                <button id="login" type="button" class="btn btn-primary block full-width m-b">登 录</button>
                <p class="text-muted text-center"> <a href="login.html#"><small>忘记密码了？</small></a> | <a href="register.html">注册一个新账号</a>
                </p>
            </form>
        </div>
    </div>
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/tools/jquery.serialize.ext.js"></script>
    <script src="js/tools/jquery.ajax.js"></script>
    <script src="js/tools/init.js"></script>
    <script src="js/jquery.cookie.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
    <script>
        $(function(){

            $("#login").click(function(){
                $.ajax({
                    url:path+"/login",
                    type: "POST",
                    data:$("form").serializeJson(),
                    async: false,
                    success:function(result){
                        if(result.meta.success){
                           // $.cookie("chomolungma-auth-token",result.data.token);
                            $.cookie("userId",result.data.name);
                            $.cookie("username",result.data.nickname);
                            window.location.href = "index.html";
                        }else{
                            $(".error").show();
                        }
                    }
                })
            })

        })
    </script>
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/login.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:18:23 GMT -->
</html>
